package com.liaowei.system.openfeign;

import com.liaowei.common.BaseResponse;
import com.liaowei.system.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "article-content-service", configuration = OpenFeignConfig.class)
public interface ArticleClient {
    // 根据标签id删除用户标签记录
    @DeleteMapping("/contents/articles/tags/{tagId}")
    BaseResponse<String> deleteByTagId(@PathVariable long tagId);
}
